

using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;

using EForms.Themes;

namespace EForms
{
	/// <summary>
	/// The class ToolTip wraps and extends the sealed class with the same name in the .NET framework.
	/// </summary>
	[System.ComponentModel.DesignerCategory("None")]
	public class ToolTip : 
		System.ComponentModel.Component, 
		System.ComponentModel.IComponent, 
		IDisposable, 
		System.ComponentModel.IExtenderProvider
	{
		private System.Windows.Forms.ToolTip toolTip = null;
		

		#region ObjectConstruction
		/// <summary>...</summary>
		public ToolTip()
		{
			toolTip = new System.Windows.Forms.ToolTip();
		}


		/// <summary>...</summary>
		public ToolTip(System.ComponentModel.IContainer cont)
		{
			toolTip = new System.Windows.Forms.ToolTip(cont);
		}
		#endregion

		#region ObjectProperties
		/// <summary>...</summary>
		public bool Active 
		{ 
			get
			{
				return(this.toolTip.Active);
			}
			set
			{
				this.toolTip.Active = value;
			}
		}

		/// <summary>...</summary>
		public int AutomaticDelay
		{ 
			get
			{
				return(this.toolTip.AutomaticDelay);
			}
			set
			{
				this.toolTip.AutomaticDelay = value;
			}
		}

		/// <summary>...</summary>
		public int AutoPopDelay
		{ 
			get
			{
				return(this.toolTip.AutoPopDelay);
			}
			set
			{
				this.toolTip.AutoPopDelay = value;
			}
		}

		/// <summary>...</summary>
		public new IContainer Container
		{ 
			get
			{
				return(this.toolTip.Container);
			}
		}

		/// <summary>...</summary>
		public int InitialDelay
		{ 
			get
			{
				return(this.toolTip.InitialDelay);
			}
			set
			{
				this.toolTip.InitialDelay = value;
			}
		}

		/// <summary>...</summary>
		public int ReshowDelay
		{ 
			get
			{
				return(this.toolTip.ReshowDelay);
			}
			set
			{
				this.toolTip.ReshowDelay = value;
			}
		}

		/// <summary>...</summary>
		public bool ShowAlways
		{ 
			get
			{
				return(this.toolTip.ShowAlways);
			}
			set
			{
				this.toolTip.ShowAlways = value;
			}
		}

		/// <summary>...</summary>
		public new virtual ISite Site
		{ 
			get
			{
				return(this.toolTip.Site);
			}
			set
			{
				this.toolTip.Site = value;
			}
		}
		#endregion

		#region ObjectMethods
		/// <summary>...</summary>
		public virtual bool CanExtend(object target)
		{
			return(this.toolTip.CanExtend(target));
		}

		/// <summary>...</summary>
		public string GetToolTip(System.Windows.Forms.Control control)
		{
			return(this.toolTip.GetToolTip(control));
		}

		/// <summary>...</summary>
		public new Type GetType()
		{
			return(this.toolTip.GetType());
		}

		/// <summary>...</summary>
		public void RemoveAll()
		{
			this.toolTip.RemoveAll();
		}

		/// <summary>...</summary>
		public void SetToolTip(System.Windows.Forms.Control control, string caption)
		{
			this.toolTip.SetToolTip(control, caption);
		}

		/// <summary>...</summary>
		public new virtual string ToString()
		{
			return(this.toolTip.ToString());
		}
		#endregion

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="fDisposing">true to release both managed and unmanaged resources; false to release only unmanaged resources</param>
		protected override void Dispose(bool fDisposing)
		{
			base.Dispose(fDisposing);
		}


	}
}

